package com.lf.sp.service;

import java.util.List;

import com.lf.sp.common.ServerResponse;
import com.lf.sp.pojo.Category;

public interface ICategoryService {

	ServerResponse addCategory(String categoryName, Integer parentId);

	ServerResponse setCategoryName(Integer categoryId, String categoryName);

	ServerResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);

	ServerResponse getCategoryAndDeepChildrenCategory(Integer categoryId);

}
